clear
clear classes
clear mex
clc

s = dotsTheScreen.theObject;
%s.displayRect = [];

dm = dotsTheDrawablesManager.theObject;

tx = dm.newObject('dotsDrawableText');
tx.string = 'Juniper juice';

dm.addObjectToGroup(tx, 'text');
dm.activeGroup = 'text';

dm.openScreenWindow;
dm.mayDrawNextFrame;
WaitSecs(1);

tx.string = 'helicopter helicopter helicopter helicopter';
dm.mayDrawNextFrame;
WaitSecs(1);

dm.setScreenTextSetting('TextSize', 24);
dm.mayDrawNextFrame;
WaitSecs(1);

dm.closeScreenWindow;